package com.wjb;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author : 王济彬
 * @date: 2025/5/24 - 05 - 24 - 10:56
 * @Description: com.wjb
 * @version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@EnableRabbit
@EnableFeignClients(basePackages = "com.wjb.feign")
public class PlaceOrederApp {
    public static void main(String[] args) {
        SpringApplication.run(PlaceOrederApp.class,args);
        System.out.println("下单服务启动");
    }
}
